var app = getApp()

Page({
  data: {
    dataList: ["离线", "核心堵转", "缺料报警", "补料提醒", "补料", "核心堵转", "缺料报警", "补料提醒", "补料"],
    status: ['全部', '在离线记录', '故障记录', '缺料报警']
  },
  onLoad: function () {
    this.setData({
      sh: app.globalData.screenHeight,
      sw: app.globalData.screenWidth
    })
  },
  menu:function(res){
    console.log(res.detail.value)
    console.log(this.data.status[res.detail.value])
  },
  date:function(res){
    console.log(res.detail.value)
  }


})
